package org.example.cloud.order.config;

import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置ribbon调用规则（会覆盖默认的轮询）
 */
@Configuration
public class PaymentRuleConfig {

    /*@Bean
    public RandomRule randomRule(){
        return new RandomRule();
    }*/

}
